package demo.android.com.mvpdemo.mvp3;

import demo.android.com.mvpdemo.mvp3.base.BaseModel;
import rx.Observable;
import rx.functions.Func1;

/**
 * Created by Vya on 2018/1/3 0003.
 */

public class FragmentModel extends BaseModel implements FragmentContract.UserInfoModel{


    @Override
    public Observable<String> setShow(String str) {
        return Observable.just(str,"--setShow--")
                    .map(new Func1<String, String>() {
                        @Override
                        public String call(String s) {

                            return s+"**Call**";
                        }
                    });
    }
}
